
function getString(){
    return new Promise((resolve,reject)=>{
        setTimeout(()=>{
            resolve('hellow world---')
        },2000)
    })
}


async function hello(){
    let result = await getString()
    console.log(result)
}

export default hello